package com.bbva.kyfb.kyfbdto.firmas.sistemasHost;

import java.math.BigDecimal;

/**
 * The Class OrdenesPenFirmaRefExternaDto.
 */
public class OrdenesPenFirmaRefExternaDto {

	/** The timestamp sal. */
	private String timestampSal;

	/** The numitem sal. */
	private Long numitemSal;

	/** The fproceso sal. */
	private String fprocesoSal;

	/** The frecepci sal. */
	private String frecepciSal;

	/** The importe sal. */
	private BigDecimal importeSal;

	/** The divisa sal. */
	private String divisaSal;

	/** The asunto sal. */
	private String asuntoSal;

	/** The tipser sal. */
	private String tipserSal;

	/** The canal sal. */
	private int canalSal;

	/** The refeexte sal. */
	private String refeexteSal;

	/**
	 * Gets the timestamp sal.
	 *
	 * @return the timestamp sal
	 */
	public String getTimestampSal() {
		return timestampSal;
	}

	/**
	 * Sets the timestamp sal.
	 *
	 * @param timestampSal the new timestamp sal
	 */
	public void setTimestampSal(final String timestampSal) {
		this.timestampSal = timestampSal;
	}

	/**
	 * Gets the numitem sal.
	 *
	 * @return the numitem sal
	 */
	public Long getNumitemSal() {
		return numitemSal;
	}

	/**
	 * Sets the numitem sal.
	 *
	 * @param numitemSal the new numitem sal
	 */
	public void setNumitemSal(final Long numitemSal) {
		this.numitemSal = numitemSal;
	}

	/**
	 * Gets the fproceso sal.
	 *
	 * @return the fproceso sal
	 */
	public String getFprocesoSal() {
		return fprocesoSal;
	}

	/**
	 * Sets the fproceso sal.
	 *
	 * @param fprocesoSal the new fproceso sal
	 */
	public void setFprocesoSal(final String fprocesoSal) {
		this.fprocesoSal = fprocesoSal;
	}

	/**
	 * Gets the frecepci sal.
	 *
	 * @return the frecepci sal
	 */
	public String getFrecepciSal() {
		return frecepciSal;
	}

	/**
	 * Sets the frecepci sal.
	 *
	 * @param frecepciSal the new frecepci sal
	 */
	public void setFrecepciSal(final String frecepciSal) {
		this.frecepciSal = frecepciSal;
	}

	/**
	 * Gets the importe sal.
	 *
	 * @return the importe sal
	 */
	public BigDecimal getImporteSal() {
		return importeSal;
	}

	/**
	 * Sets the importe sal.
	 *
	 * @param importeSal the new importe sal
	 */
	public void setImporteSal(final BigDecimal importeSal) {
		this.importeSal = importeSal;
	}

	/**
	 * Gets the divisa sal.
	 *
	 * @return the divisa sal
	 */
	public String getDivisaSal() {
		return divisaSal;
	}

	/**
	 * Sets the divisa sal.
	 *
	 * @param divisaSal the new divisa sal
	 */
	public void setDivisaSal(final String divisaSal) {
		this.divisaSal = divisaSal;
	}

	/**
	 * Gets the asunto sal.
	 *
	 * @return the asunto sal
	 */
	public String getAsuntoSal() {
		return asuntoSal;
	}

	/**
	 * Sets the asunto sal.
	 *
	 * @param asuntoSal the new asunto sal
	 */
	public void setAsuntoSal(final String asuntoSal) {
		this.asuntoSal = asuntoSal;
	}

	/**
	 * Gets the tipser sal.
	 *
	 * @return the tipser sal
	 */
	public String getTipserSal() {
		return tipserSal;
	}

	/**
	 * Sets the tipser sal.
	 *
	 * @param tipserSal the new tipser sal
	 */
	public void setTipserSal(final String tipserSal) {
		this.tipserSal = tipserSal;
	}

	/**
	 * Gets the canal sal.
	 *
	 * @return the canal sal
	 */
	public int getCanalSal() {
		return canalSal;
	}

	/**
	 * Sets the canal sal.
	 *
	 * @param canalSal the new canal sal
	 */
	public void setCanalSal(final int canalSal) {
		this.canalSal = canalSal;
	}

	/**
	 * Gets the refeexte sal.
	 *
	 * @return the refeexte sal
	 */
	public String getRefeexteSal() {
		return refeexteSal;
	}

	/**
	 * Sets the refeexte sal.
	 *
	 * @param refeexteSal the new refeexte sal
	 */
	public void setRefeexteSal(final String refeexteSal) {
		this.refeexteSal = refeexteSal;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "OrdenesPenFirmaRefExternaDto [timestampSal=" + timestampSal
				+ ", numitemSal=" + numitemSal + ", fprocesoSal=" + fprocesoSal
				+ ", frecepciSal=" + frecepciSal + ", importeSal=" + importeSal
				+ ", divisaSal=" + divisaSal + ", asuntoSal=" + asuntoSal
				+ ", tipserSal=" + tipserSal + ", canalSal=" + canalSal
				+ ", refeexteSal=" + refeexteSal + "]";
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ (asuntoSal == null ? 0 : asuntoSal.hashCode());
		result = prime * result + canalSal;
		result = prime * result
				+ (divisaSal == null ? 0 : divisaSal.hashCode());
		result = prime * result
				+ (fprocesoSal == null ? 0 : fprocesoSal.hashCode());
		result = prime * result
				+ (frecepciSal == null ? 0 : frecepciSal.hashCode());
		result = prime * result
				+ (importeSal == null ? 0 : importeSal.hashCode());
		result = prime * result
				+ (numitemSal == null ? 0 : numitemSal.hashCode());
		result = prime * result
				+ (refeexteSal == null ? 0 : refeexteSal.hashCode());
		result = prime * result
				+ (timestampSal == null ? 0 : timestampSal.hashCode());
		result = prime * result
				+ (tipserSal == null ? 0 : tipserSal.hashCode());
		return result;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#equals(java.lang.Object)
	 */
	@Override
	public boolean equals(final Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null) {
			return false;
		}
		if (getClass() != obj.getClass()) {
			return false;
		}
		final OrdenesPenFirmaRefExternaDto other = (OrdenesPenFirmaRefExternaDto) obj;
		if (asuntoSal == null) {
			if (other.asuntoSal != null) {
				return false;
			}
		} else if (!asuntoSal.equals(other.asuntoSal)) {
			return false;
		}
		if (canalSal != other.canalSal) {
			return false;
		}
		if (divisaSal == null) {
			if (other.divisaSal != null) {
				return false;
			}
		} else if (!divisaSal.equals(other.divisaSal)) {
			return false;
		}
		if (fprocesoSal == null) {
			if (other.fprocesoSal != null) {
				return false;
			}
		} else if (!fprocesoSal.equals(other.fprocesoSal)) {
			return false;
		}
		if (frecepciSal == null) {
			if (other.frecepciSal != null) {
				return false;
			}
		} else if (!frecepciSal.equals(other.frecepciSal)) {
			return false;
		}
		if (importeSal == null) {
			if (other.importeSal != null) {
				return false;
			}
		} else if (!importeSal.equals(other.importeSal)) {
			return false;
		}
		if (numitemSal == null) {
			if (other.numitemSal != null) {
				return false;
			}
		} else if (!numitemSal.equals(other.numitemSal)) {
			return false;
		}
		if (refeexteSal == null) {
			if (other.refeexteSal != null) {
				return false;
			}
		} else if (!refeexteSal.equals(other.refeexteSal)) {
			return false;
		}
		if (timestampSal == null) {
			if (other.timestampSal != null) {
				return false;
			}
		} else if (!timestampSal.equals(other.timestampSal)) {
			return false;
		}
		if (tipserSal == null) {
			if (other.tipserSal != null) {
				return false;
			}
		} else if (!tipserSal.equals(other.tipserSal)) {
			return false;
		}
		return true;
	}

}
